<% layout('layout') %>
<% block('head').append('<link type="text/css" href="/stylesheets/style.css">') %>
<div ng-controller="CenterCtrl">
    <div class="scor-min-height-80 scor-bg-eee am-g" >
        <div class="am-u-sm-2 am-margin-sm">
            <img src="<%=user.headimg%>" class="scor-img-70 am-circle">
        </div>
        <div class="am-u-sm-9 am-margin-top-lg ">
            <div class="scor-font-weight-700 am-margin-left-lg"><%=user.nickname%></div>
            <div class="scor-font-size-12 scor-color-888 am-margin-left-lg"><span class="am-text-warning"><%=user.points%></span><span class="am-padding-right-sm">积分</span><span class="">余额:</span><span class="am-text-warning"><%=user.amount%></span><span>元</span></div>
        </div>
    </div>
    <div class="am-margin-sm am-text-warning ">
        <div class="" >
            <span class=""><span class=" am-margin-0">全部订单</span><span class="am-align-right"><i class="am-icon-chevron-right "></i></span></span>
        </div>
    </div>
    <hr class="am-margin-top-sm am-margin-bottom-0" />
        <div class="am-g">
            <div class="am-text-center am-u-sm-3 am-margin-top-sm" ng-click="jump_scor('/user/history/0')">
                <img src="/images/u/a.png" class="scor-img-35"/>
                <div class="title">
                    <span class="titleName am-text-warning" >全部</span>
                </div>
            </div>
            <div class="am-text-center am-u-sm-3 am-margin-top-sm" ng-click="jump_scor('/user/history/1')">
                <img src="/images/u/b.png" class="scor-img-35"/>
                <div class="title">
                    <span class="titleName am-text-warning">待付款</span>
                </div>
            </div>
            <div class="am-text-center am-u-sm-3 am-margin-top-sm" ng-click="jump_scor('/user/history/3')">
                <img src="/images/u/c.png" class="scor-img-35"/>
                <div class="title">
                    <span class="titleName am-text-warning">待收货</span>
                </div>
            </div>
            <div class="am-text-center am-u-sm-3 am-margin-top-sm" ng-click="jump_scor('/user/history/4')">
                <img src="/images/u/d.png" class="scor-img-35"/>
                <div class="title">
                    <span class="titleName am-text-warning">待评价</span>
                </div>
            </div>
        </div>
    <hr class="am-margin-top-sm am-margin-bottom-sm"/>
    <div class="am-margin-sm am-list">
        <div class="am-margin-top-sm" ng-click="jump_scor('/user/member')"><img src="/images/u/1.png" class="scor-img-35"/> <span class="am-margin-left-lg">我的会员</span><i class="am-icon-chevron-right am-align-right am-text-warning"></i></div>
        <div class="am-margin-top-sm" ng-click="jump_scor('center/groupHistory')"><img src="/images/u/2.png" class="scor-img-35"/> <span class="am-margin-left-lg">我的团购</span><i class="am-icon-chevron-right am-align-right am-text-warning"></i></div>
        <div class="am-margin-top-sm" ng-click="jump_scor('center/coupon')"><img src="/images/u/3.png" class="scor-img-35"/> <span class="am-margin-left-lg">我的优惠券</span><i class="am-icon-chevron-right am-align-right am-text-warning"></i></div>
        <div class="am-margin-top-sm" ng-click="jump_scor('center/collect')"><img src="/images/u/4.png" class="scor-img-35"/> <span class="am-margin-left-lg">我的收藏</span><i class="am-icon-chevron-right am-align-right am-text-warning"></i></div>
        <div class="am-margin-top-sm" ng-click="jump_scor('center/address')"><img src="/images/u/5.png" class="scor-img-35"/> <span class="am-margin-left-lg">我的收货地址</span><i class="am-icon-chevron-right am-align-right am-text-warning"></i></div>
    </div>
</div>
<hr class="am-margin-top-sm" />

<% include ../navbar.ejs %>
<% block('footer').append('<script src="'+CDN+'script/center.js"></script>') %>

